package com.ruoyi.project.ledger.mapper;

import java.util.List;
import com.ruoyi.project.ledger.domain.LedgerSafetyManagementInspection;
import com.ruoyi.project.ledger.domain.LedgerSafetyManagementInspectionDaily;
import org.springframework.stereotype.Repository;

/**
 * 安全管理监督检查台账Mapper接口
 *
 * @author gwc
 * @date 2020-04-14
 */
@Repository
public interface LedgerSafetyManagementInspectionMapper
{
    /**
     * 查询安全管理监督检查台账
     *
     * @param id 安全管理监督检查台账ID
     * @return 安全管理监督检查台账
     */
    public LedgerSafetyManagementInspection selectLedgerSafetyManagementInspectionById(Long id);

    /**
     * 查询安全管理监督检查台账列表
     *
     * @param ledgerSafetyManagementInspection 安全管理监督检查台账
     * @return 安全管理监督检查台账集合
     */
    public List<LedgerSafetyManagementInspection> selectLedgerSafetyManagementInspectionList(LedgerSafetyManagementInspection ledgerSafetyManagementInspection);

    /**
     * 新增安全管理监督检查台账
     *
     * @param ledgerSafetyManagementInspection 安全管理监督检查台账
     * @return 结果
     */
    public int insertLedgerSafetyManagementInspection(LedgerSafetyManagementInspection ledgerSafetyManagementInspection);

    /**
     * 修改安全管理监督检查台账
     *
     * @param ledgerSafetyManagementInspection 安全管理监督检查台账
     * @return 结果
     */
    public int updateLedgerSafetyManagementInspection(LedgerSafetyManagementInspection ledgerSafetyManagementInspection);

    /**
     * 删除安全管理监督检查台账
     *
     * @param id 安全管理监督检查台账ID
     * @return 结果
     */
    public int deleteLedgerSafetyManagementInspectionById(Long id);

    /**
     * 批量删除安全管理监督检查台账
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLedgerSafetyManagementInspectionByIds(Long[] ids);

    public List<LedgerSafetyManagementInspectionDaily>  selectContentList(Long stationId);
}
